package com.openbravo.pos.inventory.model;

import cn.ekuma.data.ui.swing.AbstractDTOTableModel;

import com.openbravo.bean.erp.OperationProductCategory;
import com.openbravo.pos.base.AppLocal;


public class OperationProductCategoryTableModel extends AbstractDTOTableModel<OperationProductCategory> {

	@Override
	public String[] getColumnNames() {
		return new String[] { AppLocal.getIntString("Label.Name")};
	}

	public Object getValueAt(int rowIndex, int columnIndex) {
		OperationProductCategory category = objs.get(rowIndex);
		return category.getName();
	}

}
